package cn.wowjoy.pda.android_pharmacy.model.xmlEntity.inHospitalPatientInfo;

/**
 * Created by sinyo on 2017/7/31.
 */

import java.io.Serializable;

import cn.wowjoy.pda.android_pharmacy.model.BaseModel;

/**
 * 住院药房取药单
 * <p>
 * <p>
 * RYBQID	病区id	Varchar2(20)
 * RYBQMC	病区名称	Varchar2(20)
 * KFMKID	库房模块id	Varchar2(20)
 * KFWZID	摆放位置	number(10)
 * KFWZMC	摆放位置名称	Varchar2(20)
 * YPSPBM	商品码	Varchar2(20)
 * YPJGBM	监管码	Varchar2(20)
 * ZZYPMC	药品名称	Varchar2(20)
 * ZZYPGG	药品规格名称 	Varchar2(20)
 * YPCDID	药品序号	number(10)
 * YPCDMC	产地名称	Varchar2(20)
 * YPBZDW	药品包装单位	Varchar2(20)
 * CFYPSL	药品数量	number(12,4)
 * <p>
 * RYBQMC,ZZYPMC,ZZYPGG,CFYPSL
 */
public class InHospitalPatientBeen extends BaseModel implements Serializable {
    private String RYBQID;
    private String RYBQMC;
    private String KFMKID;
    private String KFWZID;
    private String KFWZMC;
    private String YPSPBM;
    private String YPJGBM;
    private String ZZYPMC;
    private String ZZYPGG;
    private String YPCDID;
    private String YPCDMC;
    private String YPBZDW;
    private String CFYPSL;
    private String FYCZSJ;
    //中文拼音
    private String PingYin;
    //是否审核
    private boolean isCheck = false;
    //高危药品Flag
    private String SFGWPB;

    public String getSFGWPB() {
        return SFGWPB;
    }

    public void setSFGWPB(String SFGWPB) {
        this.SFGWPB = SFGWPB;
    }

    public String getFYCZSJ() {
        return FYCZSJ;
    }

    public void setFYCZSJ(String FYCZSJ) {
        this.FYCZSJ = FYCZSJ;
    }


    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }

    public String getPingYin() {
        return PingYin;
    }

    public void setPingYin(String pingYin) {
        PingYin = pingYin;
    }

    public InHospitalPatientBeen(String YPSPBM, String RYBQMC, String ZZYPMC, String ZZYPGG, String CFYPSL) {
        this.YPSPBM = YPSPBM;
        this.RYBQMC = RYBQMC;
        this.ZZYPMC = ZZYPMC;
        this.ZZYPGG = ZZYPGG;
        this.CFYPSL = CFYPSL;
    }

    public InHospitalPatientBeen() {
    }

    public InHospitalPatientBeen(String RYBQID, String RYBQMC, String KFMKID, String KFWZID, String KFWZMC, String YPSPBM, String YPJGBM, String ZZYPMC, String ZZYPGG, String YPCDID, String YPCDMC, String YPBZDW, String CFYPSL) {
        this.RYBQID = RYBQID;
        this.RYBQMC = RYBQMC;
        this.KFMKID = KFMKID;
        this.KFWZID = KFWZID;
        this.KFWZMC = KFWZMC;
        this.YPSPBM = YPSPBM;
        this.YPJGBM = YPJGBM;
        this.ZZYPMC = ZZYPMC;
        this.ZZYPGG = ZZYPGG;
        this.YPCDID = YPCDID;
        this.YPCDMC = YPCDMC;
        this.YPBZDW = YPBZDW;
        this.CFYPSL = CFYPSL;
    }

    public InHospitalPatientBeen(String RYBQID, String RYBQMC, String KFMKID, String KFWZID, String KFWZMC, String YPSPBM, String YPJGBM, String ZZYPMC, String ZZYPGG, String YPCDID, String YPCDMC, String YPBZDW, String CFYPSL, String pingYin, boolean over) {
        this.RYBQID = RYBQID;
        this.RYBQMC = RYBQMC;
        this.KFMKID = KFMKID;
        this.KFWZID = KFWZID;
        this.KFWZMC = KFWZMC;
        this.YPSPBM = YPSPBM;
        this.YPJGBM = YPJGBM;
        this.ZZYPMC = ZZYPMC;
        this.ZZYPGG = ZZYPGG;
        this.YPCDID = YPCDID;
        this.YPCDMC = YPCDMC;
        this.YPBZDW = YPBZDW;
        this.CFYPSL = CFYPSL;
        PingYin = pingYin;
        this.over = over;
    }

    public boolean isOver() {
        return over;
    }

    //判断是否取完
    private boolean over = false;

    public void setOver(boolean over) {
        this.over = over;
    }

    public String getRYBQID() {
        return RYBQID;
    }

    public void setRYBQID(String RYBQID) {
        this.RYBQID = RYBQID;
    }

    public String getRYBQMC() {
        return RYBQMC;
    }

    public void setRYBQMC(String RYBQMC) {
        this.RYBQMC = RYBQMC;
    }

    public String getKFMKID() {
        return KFMKID;
    }

    public void setKFMKID(String KFMKID) {
        this.KFMKID = KFMKID;
    }

    public String getKFWZID() {
        return KFWZID;
    }

    public void setKFWZID(String KFWZID) {
        this.KFWZID = KFWZID;
    }

    public String getKFWZMC() {
        return KFWZMC;
    }

    public void setKFWZMC(String KFWZMC) {
        this.KFWZMC = KFWZMC;
    }

    public String getYPSPBM() {
        return YPSPBM;
    }

    public void setYPSPBM(String YPSPBM) {
        this.YPSPBM = YPSPBM;
    }

    public String getYPJGBM() {
        return YPJGBM;
    }

    public void setYPJGBM(String YPJGBM) {
        this.YPJGBM = YPJGBM;
    }

    public String getZZYPMC() {
        return ZZYPMC;
    }

    public void setZZYPMC(String ZZYPMC) {
        this.ZZYPMC = ZZYPMC;
    }

    public String getZZYPGG() {
        return ZZYPGG;
    }

    public void setZZYPGG(String ZZYPGG) {
        this.ZZYPGG = ZZYPGG;
    }

    public String getYPCDID() {
        return YPCDID;
    }

    public void setYPCDID(String YPCDID) {
        this.YPCDID = YPCDID;
    }

    public String getYPCDMC() {
        return YPCDMC;
    }

    public void setYPCDMC(String YPCDMC) {
        this.YPCDMC = YPCDMC;
    }

    public String getYPBZDW() {
        return YPBZDW;
    }

    public void setYPBZDW(String YPBZDW) {
        this.YPBZDW = YPBZDW;
    }

    public String getCFYPSL() {
        return CFYPSL;
    }

    public void setCFYPSL(String CFYPSL) {
        this.CFYPSL = CFYPSL;
    }

    @Override
    public String toString() {
        return "InHospitalPatientBeen{" +
                "RYBQID='" + RYBQID + '\'' +
                ", RYBQMC='" + RYBQMC + '\'' +
                ", KFMKID='" + KFMKID + '\'' +
                ", KFWZID='" + KFWZID + '\'' +
                ", KFWZMC='" + KFWZMC + '\'' +
                ", YPSPBM='" + YPSPBM + '\'' +
                ", YPJGBM='" + YPJGBM + '\'' +
                ", ZZYPMC='" + ZZYPMC + '\'' +
                ", ZZYPGG='" + ZZYPGG + '\'' +
                ", YPCDID='" + YPCDID + '\'' +
                ", YPCDMC='" + YPCDMC + '\'' +
                ", YPBZDW='" + YPBZDW + '\'' +
                ", CFYPSL='" + CFYPSL + '\'' +
                ", PingYin='" + PingYin + '\'' +
                ", isCheck=" + isCheck +
                ", over=" + over +
                '}';
    }
}
